package cn.tedu.duotai;
//宠物类  父类
public class Pet {
    String name;
    int age;
    public void eat(){
        System.out.println("吃~~");
    }
    public void sleep(){
        System.out.println("睡觉~~");
    }
}
